package com.cfilmcloud.learn.service;

import com.cfilmcloud.learn.domain.Learn;
import com.cfilmcloud.learn.repository.LearnRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by edz on 2017/7/13.
 */
@Service
public class LearnService {

    @Autowired
    private LearnRepository learnRepository;

    public List<Learn> findAll(){
        return learnRepository.findAll();
    }
}
